package com.tengju.bff.interfaces.covercharge.entity.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务费个体打款流水表
 * </p>
 *
 * @author zhaoyi
 * @since 2020-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_service_withdraw_flow")
public class ServiceWithdrawFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 代理编号
     */
    @TableField("id_code")
    private Integer idCode;

    /**
     * 平台 编号ABM DT
     */
    @TableField("platform_code")
    private String platformCode;

    /**
     * 提现周期ID
     */
    @TableField("cycle_add_id")
    private Integer cycleAddId;

    /**
     * 打款渠道
     */
    @TableField("channel")
    private String channel;

    /**
     * 打款户名
     */
    @TableField("idcard_name")
    private String idcardName;

    /**
     * 金额
     */
    @TableField("amount")
    private BigDecimal amount;

    /**
     * 0-打款失败，1-打款成功
     */
    @TableField("status")
    private Integer status;

    /**
     * 打款人
     */
    @TableField("withdrawer")
    private String withdrawer;

    /**
     * 打款时间
     */
    @TableField("withdraw_time")
    private LocalDateTime withdrawTime;

    /**
     * 更新时间
     */
    @TableField("updated_time")
    private LocalDateTime updatedTime;

    /**
     * 打款备注
     */
    @TableField("remark")
    private String remark;


}
